﻿<UserControl x:Class="AyurvedaUI.PlantSearch"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="700" Width="450">
    <Grid>
        <Label Height="28" HorizontalAlignment="Left" Name="lbSearchWord" VerticalAlignment="Top" Width="120" Margin="0,12,0,0">Search Word</Label>
        <TextBox Height="23" HorizontalAlignment="Left" Margin="77.77,12,0,0" Name="tbSearchWlord" VerticalAlignment="Top" Width="120" />
        <Button Height="23" Margin="77.77,69.993,0,0" Name="btSearch" VerticalAlignment="Top" HorizontalAlignment="Left" Width="74.437">Search</Button>
        <ListView Margin="0,98.879,0,0" Name="resultListView">
            <ListView.View>
                <GridView>
                    <GridViewColumn Header="PlantID"
                                        DisplayMemberBinding="{Binding PlantID}" Width="50" />
                    <GridViewColumn Header="Name" 
                                        DisplayMemberBinding="{Binding DefaultName}" Width="200" />
                    <GridViewColumn Header="Language" 
                                        DisplayMemberBinding="{Binding Language}" Width="150" />
                </GridView>
            </ListView.View>
        </ListView>
        <Label Height="28" HorizontalAlignment="Left" Margin="0,41.107,0,0" Name="lbMonthOfSowing" VerticalAlignment="Top" Width="77.77">Sowing</Label>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="77.77,41.107,0,0" Name="cbSowingMonth" VerticalAlignment="Top" Width="120" />
        <Label Height="28" Margin="203.313,12,147.763,0" Name="lbFlowering" VerticalAlignment="Top">Flowering</Label>
        <ComboBox Height="23" HorizontalAlignment="Right" Margin="0,12,21.109,0" Name="cbFloweringMonth" VerticalAlignment="Top" Width="120" />
        <Label Height="28" Margin="204.424,36.107,146.652,0" Name="lbCropping" VerticalAlignment="Top">Cropping</Label>
        <ComboBox Height="23" HorizontalAlignment="Right" Margin="0,41.107,21.109,0" Name="cbCroppingMonth" VerticalAlignment="Top" Width="120" />
    </Grid>
</UserControl>
